package felix.rule.data.msg;

public interface EngineMsgCallback {

    EngineMsgCallback EMPTY = new EngineMsgCallback() {

        @Override
        public void onSuccess() {

        }

        @Override
        public void onFailure(RuleEngineException e) {

        }
    };

    void onSuccess();

    void onFailure(RuleEngineException e);

    default void visit(RuleNodeInfo ruleNodeInfo) {
    }

}
